package com.rm.zeyou.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 城市合伙人表
 * </p>
 *
 * @author YanYang
 * @since 2025-03-12 15:55:08
 */
@Getter
@Setter
@TableName("t_partners")
@ApiModel(value = "Partners对象", description = "城市合伙人表")
public class Partners implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("城市合伙人pk")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户表pk")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty("加入的城市")
    @TableField("partners_city")
    private String partnersCity;

    @ApiModelProperty("团队管理经验")
    @TableField("management_experience")
    private String managementExperience;

    @ApiModelProperty("是否从事过推拿行业")
    @TableField("is_worked")
    private String isWorked;

    @ApiModelProperty("合伙人姓名")
    @TableField("partners_name")
    private String partnersName;

    @ApiModelProperty("合伙人电话")
    @TableField("partners_tel")
    private String partnersTel;

    @ApiModelProperty("合伙人邮箱")
    @TableField("partners_mail")
    private String partnersMail;

    @ApiModelProperty("身份证正反面照片")
    @TableField("id_card_photo")
    private String idCardPhoto;

    @ApiModelProperty("备注")
    @TableField("partners_remark")
    private String partnersRemark;

    @ApiModelProperty("审核状态（0=审核中 1=审核成功 2=审核失败）")
    @TableField("audit_status")
    private Integer auditStatus;

    @ApiModelProperty("逻辑删除（0=未删除，1=已删除）")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty("创建时间")
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新时间")
      @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
